package cn.edu.sig.dao;

import cn.edu.sig.bean.CurrentPage;
import cn.edu.sig.bean.User;
import cn.edu.sig.bean.UserRole;

public interface UserDao extends TemplateDao<User> {

	public void register(User user);
	
	public void updatePassword(String code, String password);
	
	public CurrentPage<User> findUserList(int pageNo,int pageSize);
	
	public UserRole findUserRole(String name);
	
	public void setUserLock(boolean enable,User user);
}
